package com.moxiao.yfjh.module.blind.convert.memberlabel;

import java.util.*;

import com.moxiao.yfjh.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.moxiao.yfjh.module.blind.controller.admin.memberlabel.vo.*;
import com.moxiao.yfjh.module.blind.dal.dataobject.memberlabel.MemberLabelDO;

/**
 * 相亲标签库 Convert
 *
 * @author mx
 */
@Mapper
public interface MemberLabelConvert {

    MemberLabelConvert INSTANCE = Mappers.getMapper(MemberLabelConvert.class);

    MemberLabelDO convert(MemberLabelCreateReqVO bean);

    MemberLabelDO convert(MemberLabelUpdateReqVO bean);

    MemberLabelRespVO convert(MemberLabelDO bean);

    List<MemberLabelRespVO> convertList(List<MemberLabelDO> list);

    List<MemberLabelDO> convertListTo(List<MemberLabelRespVO> list);

    PageResult<MemberLabelRespVO> convertPage(PageResult<MemberLabelDO> page);

    List<MemberLabelExcelVO> convertList02(List<MemberLabelDO> list);

}
